package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.PRODUCT_HOME_INFO;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;

public class ProductHomeApi implements IRequestApi, IRequestType {

    public ProductHomeApi() {
    }


    @NonNull
    @Override
    public String getApi() {
        return PRODUCT_HOME_INFO;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class ReqProductHomeBean {

    }



    public static final class ResProductHomeBean {
        private String backhouse; //贷款最大金额
        private String icw; //期限
        private String preaseptic; //日利率

        public String getBackhouse() {
            return backhouse;
        }

        public String getIcw() {
            return icw;
        }

        public String getPreaseptic() {
            return preaseptic;
        }
    }


}

